{extend name="public/base"/} {block name="style"}{/block} {block name="body"}
<section class="content-header">
  <h1>
    报送数据
    <small>查看报送数据</small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="{:url('/')}"><i class="fa fa-dashboard"></i> 面板</a></li>
    <li><a href="{:url('index')}">报送数据</a></li>
    <li class="active">查看报送数据</li>
  </ol>
</section>
<section class="content">
  <div class="box box-info box-form">
    <div class="row">
    {volist name="list" id="cate" mod="2"}
    <div class="col-md-6">
          <div class="box box-default">
            <div class="box-header with-border ">
              <h3 class="box-title "><i class="fa fa-list-alt"></i> {$cate.name}</h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body report">
                <div class="x5"><h6 class="text-center bg-blue">进水浓度(mg/l)</h6></div>
                <div class="x5"><h6 class="text-center bg-yellow">出水浓度(mg/l)</h6></div>
                <div class="x2"> <h6 class="text-center bg-warning">去除率(%)</h6></div>
                {foreach name="cate.data" item="vo" }
                    <div class="x5">      
                        <div class="input-group">
                          <span class="input-group-addon">{$key|get_field_name}</span>
                          <input type="text" class="form-control" value="{$vo.in}">
                        </div>
                    </div>
                    <div class="x5">
                        <div class="input-group">
                          <span class="input-group-addon">{$key|get_field_name}</span>
                          <input type="text"  class="form-control"  value="{$vo.out}">
                        </div>
                    </div>
                    <div class="x2">
                          <input type="text"  class="form-control" value="{$vo.clear}">
                    </div>
                {/foreach}
                 {eq name="mod" value="1"}<div class="clearfix"></div>{/eq}

            </div>
            <!-- /.box-body -->
          </div>
          <!-- /.box -->
        </div>
    {/volist}
    </div>
  </div>
</section>
{/block}{block name="scripts"}
<script>
  $(function(){
    $(":input").attr("readonly","readonly");

  });
</script>
{/block}